home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / prog_c / m4kit12.zip / README.TXT < prev    next >
Text File  |  1996-05-28  |  14KB  |  286 lines

  1.  
  2. The MetaKit Library                  Version 1.2                  May 28, 1996
  3. ==============================================================================
  4.  
  5.  
  6. DESCRIPTION
  7.  
  8.     The MetaKit Library is a software development library for data storage
  9.     and easy manipulation of structured objects and collections in C++. 
  10.     If you need bulky, powerful database functions look elsewhere, but if you
  11.     need a small self-contained library to store structured data, read on.
  12.  
  13.     This software is distributed as shareware. Full source code is available.
  14.     Please read the disclaimer, which is in the file "include\m4kit.h".  
  15.  
  16.     For the latest news about MetaKit, point your Internet browser to:
  17.                             http://purl.net/meta4/metakit
  18.  
  19.     For an example of its use, check out the "CatFish" disk catalog browser.
  20.     This freeware Windows utility demonstrates the size and speed of MetaKit.
  21.  
  22.  
  23. FEATURES
  24.  
  25.     MAKE YOUR STRUCTURED DATA PERSISTENT
  26.     + Data is loaded on-demand, with immediate access to any size data files.
  27.     + Modifications are only made permanent when explicitly committed.
  28.  
  29.     GET THE ADVANTAGES OF A DATABASE IN C++
  30.     + Any failure, even during commit, causes automatic rollback on next open.
  31.     + Automatic file storage allocation, all repair/reclaim is automatic.
  32.  
  33.     TRANSPORT YOUR DATA ANYWHERE
  34.     + All data can be flattened for streaming over a communications channel.
  35.     + Files are portable across platforms, several library ports are planned.
  36.  
  37.     RUN-TIME DATA STRUCTURES
  38.     + Data structures are dynamic, allowing you to write generic utilities.
  39.     + Deal with file format changes and multiple formats as your code evolves. 
  40.  
  41.     HIGH PERFORMANCE
  42.     + Can store millions of objects, instant access to any view/row/property.
  43.     + Storage overhead for large collections of small objects can be very low.
  44.  
  45.     NO INCONVENIENT COMPROMISES
  46.     + MetaKit does not depend on UI code, so it can be combined with any GUI.
  47.     + Existing class libraries are used for string & container implementation.
  48.  
  49.     EASY TO READ, EASY TO USE
  50.     + Only a few tiny header files, distracting details are well encapsulated.
  51.     + Uses view / row / property classes with [] and () operator overloading.
  52.  
  53.     YOU STAY IN CONTROL
  54.     + The code footprint of MetaKit is small, you can link it as LIB or DLL.
  55.     + Complete, commented source code of MetaKit is available. No royalties.
  56.  
  57.     ONE SIZE FITS ALL
  58.     + Small projects: simple headers, easy to work with, small code, any GUI.
  59.     + Very large projects: complex structures, huge files, portable, failsafe.
  60.  
  61.     SOLID AND SUPPORTED
  62.     + This design has evolved during many years of commercial C++ programming.
  63.     + Your questions, comments, and suggestions will be taken very seriously.
  64.  
  65.  
  66. GETTING STARTED
  67.  
  68.     To install this library and sample code, unpack the ZIP archive to a new
  69.     directory (such as "C:\M4KIT"). Make sure to keep the original directory
  70.     structure, with 'Use Directory Names' in WinZip or 'pkunzip -d' in MS-DOS.
  71.  
  72.     Please read the "WHATSNEW.TXT" file for the last-minute release details.
  73.  
  74.     The main introduction is in the file "M4KIT.HTM", which is in HTML format.
  75.     A copy of this is in "M4KIT.WRI", for use with Write/WordPad/QuickView.
  76.     The file "M4KITAPI.HLP" is the reference guide for this library (Winhelp).
  77.  
  78.     A simple disk-catalog program is included to illustrate many features.
  79.     Emphasis is on data-manipulation, this example uses a rudimentary UI.
  80.     The source code is in "examples\discat", the 16-bit Windows executable
  81.     is called "bin\discat16.exe", the 32-bit version is "bin\discat.exe".
  82.  
  83.     Note:   You will need Microsoft's MFC250.DLL to run the 16-bit version, or
  84.             the two files MFC40.DLL & MSVCRT40.DLL to run the 32-bit version.
  85.             If you do not have them, you may not be able to do much with the
  86.             current MFC-only version of this software library, unfortunately.
  87.  
  88.     The "dump.exe" utility dumps the contents of datafiles, the "struct.exe"
  89.     program shows their data structure, full source code for both is included.
  90.     The "catsend.exe" and "catrecv.exe" sample applications demonstrate the
  91.     exchange of MetaKit data over TCP/IP. The "ftpcat.exe" 32-bit console
  92.     application creates catalog of remote FTP server directories (which are
  93.     compatible with "discat").
  94.  
  95.     The CatFish disk catalog browser executable is available separately (see
  96.     the MetaKit home page), the source and makefile for a DLL version of this
  97.     program are included in this distribution.
  98.  
  99.  
  100. ROADMAP
  101.  
  102.     Several header files and libraries have the digit four in their name to
  103.     avoid potential name conflicts with other files on your system.
  104.  
  105.  
  106.     DIRECTORIES
  107.  
  108.         The shareware distribution has the following directory structure:
  109.  
  110.             bin\        Executables of the examples
  111.             examples\   Source code examples
  112.             include\    Header files
  113.             lib\        Libraries needed to build applications
  114.  
  115.         These directories contain everything you need to build applications
  116.         for 32-bit and 16-bit Windows, as well as for MS-DOS (large-model).
  117.  
  118.         In addition, the source code version includes these directories:
  119.  
  120.             src\        C++ source files and private headers
  121.             msvc152\    Microsoft Visual C++ 1.52 build areas
  122.             msvc41\     Microsoft Visual C++ 4.1 build areas
  123.  
  124.  
  125.     HEADER FILES
  126.  
  127.         The MetaKit library software is highly modular (loosely coupled).
  128.         As a consequence, the headers you need to look at are quite small.
  129.         The following headers are provided in the shareware version:
  130.  
  131.             include\m4kit.h     The single header you'll need to include.
  132.  
  133.         This is a wrapper for the following files:
  134.  
  135.             include\k4conf.h    Compatibility and common definitions
  136.             include\k4view.h    Definition of views, cursors, and rows
  137.  
  138.         The remaining include files contain some less essential details:
  139.  
  140.             include\k4table.h   Persistent storage details (low-level)
  141.             include\k4field.h   Structured field details (low-level)
  142.             include\k4viewx.h   Additional view classes, used internally
  143.             include\k4*.inl     Inline function definitions
  144.  
  145.         These files define all capabilities of the library, no more, no less.
  146.         The core functionality is provided by the View and Storage classes.
  147.  
  148.  
  149.     SOURCE CODE EXAMPLES
  150.  
  151.         These programs illustrate different aspects of the MetaKit library:
  152.  
  153.             examples\discat     A basic disk catalog, for Win16 and Win32.
  154.                                 Compiled as a small dialog-based application.
  155.                                 Shows use with a non-trivial data structure.
  156.  
  157.             examples\dump       A utility to dump the contents of a datafile.
  158.                                 Compiled as a (32-bit) console application.
  159.                                 Useful for debugging, various output formats.
  160.  
  161.             examples\struct     This utility displays the data structure of a
  162.                                 datafile as a graph. It is distributed as an
  163.                                 MS-DOS large-model real-mode executable.
  164.  
  165.             examples\catsend    Sends catalog file over a TCP/IP connection.
  166.                                 Compiled with MSVC 4 (Win32), uses Winsock.
  167.                                 Requires a catalog file created with discat.
  168.  
  169.             examples\catrecv    Receives and displays disk catalog as a tree.
  170.                                 In MSVC 4.1, requires Win95 for the new Tree
  171.                                 control (or perhaps Win32s version 1.30).
  172.                                 Requires catsend to feed it some information.
  173.  
  174.             examples\ftpcat     Similar to discat, but this console app will
  175.                                 generate tree catalogs of remote ftp servers.
  176.                                 Its catalog files are compatible with catsend.
  177.                                 Requires MSVC 4.x, runs FTP.EXE for sessions.
  178.  
  179.             examples\catfish    Source code of the freeware "CatFish" utility,
  180.                                 a tiny but very fast disk catalog browser.
  181.                                 Created with MSVC 1.52 as a Win16 application.
  182.                                 Does not require, but works fine with FTPCAT.
  183.  
  184.         The CATSEND/CATRECV programs work together to demonstrate streaming,
  185.         generic file access (CATSEND knows nothing about the DISCAT format),
  186.         and use without data files (CATRECV only captures and displays data).
  187.         You need WINSOCK and TCP/IP, but you can run them on a single machine.
  188.         The FTPCAT utility creates files compatible with CATSEND and CATRECV.
  189.         Finally, CATFISH is a full-scale utility application, with source.
  190.  
  191.  
  192. PORTABILITY
  193.  
  194.     This release has been tested with Microsoft Visual C++ 4.0 & 4.1 (Win 32),
  195.     1.52 (Win 16 and MSDOS), Symantec C++ 7.2 (Win 32), and Watcom C++ 10.5
  196.     (Win 32) and uses files/strings/containers of MFC (Microsoft Foundation
  197.     Classes framework). Only MFC-based development is currently supported.
  198.     The library can be linked statically, as user DLL, or as an extension DLL.
  199.  
  200.     Some newer C++ features such as templates and RTTI are not required for
  201.     this release (exceptions are used, using MFC macros for 16-bit MSVC 1.52).
  202.     The generic data types can be implemented surprisingly well without them,
  203.     although templates (and STL) will be used once they are widely supported.
  204.  
  205.     All C++ identifiers with global scope include the digit four. Namespace
  206.     support will be added when this addition to C++ becomes more widespread.
  207.  
  208.     Support for other compilers, frameworks, hardware platforms, and operating
  209.     systems will be included in upcoming 1996 releases. But... in which order?
  210.     Borland C++, Mac/CodeWarrior, STL, Unix, anything else? Help! Let me know!
  211.  
  212.  
  213. REGISTRATION
  214.  
  215.     The MetaKit Library is not free, you must register for US$ 25 if you use
  216.     this code in your own software after an evaluation period of 30 days. When
  217.     used commercially, you must register and purchase the source code license
  218.     for another US$ 65 to obtain the right to incorporate this library code.
  219.  
  220.     Payment of the US$ 25 registration fee entitles you to:
  221.  
  222.         * The right to use this software for personal and non-profit use
  223.         * Obtain all the most recent library versions (debug & release)
  224.         * Timely notification by email of any new revisions and updates
  225.         * Free registration of every revision for the coming 12 months
  226.         * Quick response times for all technical support questions
  227.         * A warm thank you - you're supporting me to continue this effort!
  228.  
  229.     By purchasing the source code license for an additional US$ 65, you get:
  230.  
  231.         * The right to include and distribute object code for commercial use
  232.         * The complete, commented source code in C++ of the MetaKit library
  233.         * A twelve month subscription to all major updates via email
  234.  
  235.     How to register your copy or purchase the source code version:
  236.  
  237.         CREDIT CARD, CASH, CHECK, OR MONEY ORDERS:
  238.                         You can use the enclosed REGISTER.EXE program to send
  239.                         your order to the KAGI shareware registration service,
  240.                         using email, fax, or regular mail.
  241.  
  242.         COMPUSERVE:     GO SWREG, select reg# 10351 (10352 for source code),
  243.                         and enter all details. Confirmation and any further
  244.                         information will then be sent to you by email within
  245.                         two business days.
  246.  
  247.         PHONE ORDERS:   You can call PsL at 800-2424-PsL or 713-524-6394 and
  248.                         give them a MC, Visa, Amex, or Discover card number.
  249.                         Specify item #14522 and whether you want source code.
  250.                         To insure that you will receive the latest registered
  251.                         version, PsL will notify us the day of your order and
  252.                         additional information will be sent to you within two
  253.                         business days.
  254.  
  255.         NOTE:   THE ABOVE PHONE NUMBERS ARE FOR CREDIT CARD, ETC. ORDERS ONLY.
  256.                 THE AUTHOR OF THIS LIBRARY CANNOT BE REACHED AT THESE NUMBERS.
  257.  
  258.         Any questions about the status of the shipment of the order, refunds,
  259.         registration options, product details, tech support, volume discounts,
  260.         site licenses, etc, must be directed to the email/fax addresses below.
  261.  
  262.  
  263. DISTRIBUTION AND SUPPORT
  264.  
  265.     The MetaKit Library software package is copyright Meta Four Software, NL.
  266.     You may not distribute this information, nor any portions thereof, as part
  267.     of a general database- or object-persistence software library or utility.
  268.  
  269.     You may distribute this shareware release for any other purpose, provided
  270.     that all files are included without change, including this description.
  271.  
  272.     Meta Four Software will provide technical support for 12 months, starting
  273.     on the day your registration fee is received. If a problem with MetaKit is
  274.     not resolved according to the specifications, you will be given the option
  275.     to receive a refund of the purchase price.
  276.  
  277.  
  278. CONTACT INFORMATION
  279.  
  280.     Jean-Claude Wippler          mailto:jcw@meta4.nl
  281.  
  282.     Meta Four Software             http://purl.net/meta4
  283.     Meekrap oord 6
  284.     3991 VE, Houten                 fax:+31 30 635 2337
  285.     The Netherlands
  286.